package longcaisuyun.longcai.com.net;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by Administrator on 2016/4/28.
 */
@HttpInlet(Net.GONGGAODELE)
public class PostGongGaoDele extends WHAsyPost<PostGongGaoDele.Info> {
    public String driverid;
    public String id;
    public PostGongGaoDele(String driverid,String id,AsyCallBack asyCallBack) {
        super(asyCallBack);
        this.driverid=driverid;
        this.id=id;
    }
    protected Info parser(JSONObject object) {
        Info info = new Info();
        try {
            info.message = object.getString("message");
        } catch (JSONException e) {
            e.printStackTrace();
        }
        return info;
    }
    public static class Info {
        public String message;
    }
}
